const APP = require('../server');
const { batchDisableRemoteMethod } = require('../../common/utils/tool.ts');

module.exports = function (app) {
  const models = APP.models();
  models.forEach(function (Model) {
    // console.log(Model.modelName, 'model object');
    batchDisableRemoteMethod(Model);
  });
};
